package test.annotation.im_port;

import lombok.Data;
import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

@Data
public class ImportBeanSelector implements ImportSelector {

    private int x = 10 ;

    @Override
    public String[] selectImports(AnnotationMetadata annotationMetadata) {
        return new String[]{ImportBean.class.getName()};
    }
}
